/* src/styles/base.css */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family:
    "Helvetica Neue",
    Helvetica,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "微软雅黑",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f5f5;
  color: #333;
  font-size: 14px;
}

#app {
  height: 100%;
}

/* 覆盖浏览器默认的样式 */
button,
input,
textarea {
  outline: none;
  font-family: inherit;
}

/* 解决移动端点击高亮问题 */
* {
  -webkit-tap-highlight-color: transparent;
}

/* 防止iOS缩放 */
input[type="text"],
input[type="tel"],
input[type="password"] {
  font-size: 16px;
}

/* Toast 消息的样式 */
.v-toast__item {
  background: rgba(0, 0, 0, 0.8) !important;
  border-radius: 50px !important;
  padding: 12px 20px !important;
}

/* UnoCSS 辅助类 */
.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}